-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix rendering of enumerations inheriting from mixin and data types. #11596
Fix rendering of enumerations inheriting from mixin and data types. #11596
Conversation
…-multiple-inheritance-enum
…-multiple-inheritance-enum
…-multiple-inheritance-enum
@alxroyer Could you check if this patch would fix your issue? |
I fixed it actually, now I'm just cleaning it up. |
So there is something with docutils but I don't know what. @jayaddison can you investigate this one please? |
There's definitely something wrong with docutils HEAD. Maybe it's my fix that is causing the issue because it's really weird. |
Lokks like |
It's funny because every time I rerun the test, it failed. So I am quite unlucky :( |
I am really unlucky. I clearly don't know why this one became flaky now... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, the general logic looks reasonable, and the test cases capture a good range of possibilities.
Just some nitpicks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm considering improving the logic of checking autodoc lines. For now I'll leave the current formatter as a base implementation but I'll review it in another PR so that we can easily match autodoc related content instead of having to write those lines with strings, indents and empty lines that are sometimes hard to remember.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good thanks
Fix #11353.
I'm not sure that everything is covered so feel free to argue.